#include "GameOverState.h"
#include "PlayState.h"
#include "Texture.h"
#include "PlayState.h"
#include "ResMgr.h"
#include "StateMgr.h"


GameOverState::GameOverState()
{
}

void GameOverState::Init()
{
	ResMgr::GetInstance()->LoadGameOver();
}
void GameOverState::Render()
{
	ResMgr::GetInstance()->GetTexture(TID_GAMEOVER_BACK)->Render(0, 0);
}

void GameOverState::TouchDown(int x, int y)
{
	StateMgr::GetInstance()->SwitchState(PlayState::GetInstance());
}

GameOverState::~GameOverState()
{
	ResMgr::GetInstance()->UnloadGameOver();
}